package com.kingint.mbg.sys.mapper;

import com.kingint.mbg.sys.entity.Notice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kingint.mbg.sys.entity.UmsMember;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wxh
 * @since 2020-12-28
 */
public interface NoticeMapper extends BaseMapper<Notice> {
    //展示公告列表
    List<Notice> getListneed(@Param("umsId") Long umsId, @Param("hotelId") Integer hotelId);

    Integer notreads(@Param("currentMember") UmsMember currentMember);

    // Boolean readsMapper(UmsMember currentMember, Long id);
}
